//store 就是仓库
import { createStore, combineReducers, applyMiddleware }from 'redux';
import reducer from './../reducers/counter'
//引入rudux中的异步流
import thunk from 'redux-thunk';
//在仓库中使用这个异步流的操作
const store = createStore(reducer,applyMiddleware(thunk));
export default store